// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.content.Context;
import android.database.Cursor;
import android.view.*;
import android.widget.*;
import java.util.HashSet;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            ge, PRISActivityForward, cy

class cls_ay extends CursorAdapter
{

    public cls_ay(cls_PRISActivityForward prisactivityforward, Context context, Cursor cursor)
    {
    	super(context, cursor);
        a = prisactivityforward;
        
        b = null;
        b = (LayoutInflater)context.getSystemService("layout_inflater");
    }

    public void bindView(View view, Context context, Cursor cursor)
    {
        boolean flag;
        cls_ge ge1;
        int i;
        flag = false;
        ge1 = (cls_ge)view.getTag();
        i = cursor.getInt(4);
        switch(i)
        {
        case 1:
        	ge1.a.setText(0x7f0a011d);
        	break;
        case 2:
        	ge1.a.setText(0x7f0a011f);
        	break;
        case 3:
        	ge1.a.setText(0x7f0a011e);
        	break;
        case 4:
        	ge1.a.setText(0x7f0a0122);
        	break;
        case 5:
        	ge1.a.setText(0x7f0a0121);
        	break;
        case 6:
        	ge1.a.setText(0x7f0a0120);
        	break;
        case 7:
        	ge1.a.setText(0x7f0a0123);
        	break;
        default:
        	break;
        	
        }
        
        ge1.b.setText(cursor.getString(2));
        long l = cursor.getLong(0);
        ge1.c.setTag(Long.valueOf(l));
        CheckBox checkbox = ge1.c;
        if(!cls_PRISActivityForward.g(a).contains(Long.valueOf(l)))
            flag = true;
        checkbox.setChecked(flag);
        ge1.c.setOnCheckedChangeListener(new cls_cy(this, i));
            }

    public View newView(Context context, Cursor cursor, ViewGroup viewgroup)
    {
        View view = b.inflate(0x7f030009, viewgroup, false);
        cls_ge ge1 = new cls_ge();
        ge1.a = (TextView)view.findViewById(0x7f0d0021);
        ge1.b = (TextView)view.findViewById(0x7f0d0022);
        ge1.c = (CheckBox)view.findViewById(0x7f0d0023);
        view.setTag(ge1);
        return view;
    }

    final cls_PRISActivityForward a;
    private LayoutInflater b;
}
